
const dev = window.location.port == '8081' ? true : false

const gray=`https://www.gray.rjmart.cn/purchaser/index.html`
const local=`http://localhost:8032/rjdemo/www/purchaser/index.html`


export default {
    getUrl(url){
        url=dev?`${local}${url}`:url
        return url
    },

    annoce(){
       return this.getUrl('#information')
    },

    setUrl(url){
        return this.getUrl(url)
    },


    footerUrl(){
        const item1=[
            '#indexPage',
            '#bidlist',
            '#promotionChannel',
            'https://www.gray.rjmart.cn/purchaser_Manager/index.html',
            '#bidlist',
        ]
        const item2=[
            '#cooperation',
            '#bidlist',
            '#bidlist',
            '#bidlist',
            '#bidlist',
        ]
        const item3=[
            '#',
            '#bidlist',
            '#bidlist',
            '#bidlist',
            '#bidlist',
        ]
        const item4=[
            '#',
            '#bidlist',
            '#bidlist',
            '#bidlist',
            'https://www.lagou.com/gongsi/j226552.html',
        ]


        return  [
            item1,
            item2,
            item3,
            item4
        ]


    }

}